import com.config.MyConfig;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Application {
    public static void main(String[] args) {
//        ApplicationContext
        AnnotationConfigApplicationContext applicationContext =
                new AnnotationConfigApplicationContext(MyConfig.class);
//        UserEntity userEntity = applicationContext.getBean("userEntity", UserEntity.class);
        applicationContext.close();
    }
}
